import http from '@/utils/http'


/** @desc 获取图片管理列表 */
export function getPictureList(data) {
  return http.post('manager/imagestore/index', data)
}

/** @desc 获取图片分类列表 */
export function getPictureCategoryList(data) {
  return http.post('manager/imagestore/categorys', data)
}

/** @desc 添加图片分类 */
export function addPictureCategoryList(data) {
  return http.post('manager/imagestore/category_add', data)
}

/** @desc 移除图片分类 */
export function removePictureCategoryList(data) {
  return http.post('manager/imagestore/category_delete', data)
}

/** @desc 添加图片 */
export function addPictureList(data) {
  return http.post('manager/imagestore/add', data)
}

/** @desc 编辑图片 */
export function editPictureList(data) {
  return http.post('manager/imagestore/edit', data)
}

/** @desc 图片详情 */
export function getPictureDetail(data) {
  return http.post('manager/imagestore/detail', data)
}

/** @desc 删除图片 */
export function deletePicture(data) {
  return http.post('manager/imagestore/delete', data)
}
